<!DOCTYPE html>
<html>

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <meta name="format-detection" content="telephone=yes"/>
   <!-- <link rel="shortcut icon" href="<%= BASE_URL %>favicon.ico"> -->
  <style>
    .first-screen {
      position: fixed;
      left: 0;
      top: 0;
      bottom: 0;
      right: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
    }
    .first-screen-loading {
      width: 40px;
      height: 40px;
      border: 2px solid #17b3a3;
      border-top-color: #d1e2e0;
      border-right-color: #d1e2e0;
      border-bottom-color: #d1e2e0;
      border-radius: 100%;
      animation: circle-17d0c13e infinite 0.75s linear;
    }
    .first-screen-text{
      color:#17b3a3;
      font-size: 12px;
      padding-top: 5px;
    }
    @keyframes circle-17d0c13e {
      0% {
        transform: rotate(0);
      }
      100% {
        transform: rotate(360deg);
      }
    }
  </style>

  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/nprogress@0.2.0/nprogress.css" rel="stylesheet" />
  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-virtual-scroller@1.0.10/vue-virtual-scroller.css" rel="stylesheet" />
  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/quill@1.3.7/quill.core.css" rel="stylesheet" />
  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/quill@1.3.7/quill.snow.css" rel="stylesheet" />
  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/quill@1.3.7/quill.bubble.css" rel="stylesheet" />
  <link href="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/syncfusion/index.css" rel="stylesheet"  />




</head>

<body>


  <noscript>
    <!-- <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WQ443V4" height="0" width="0"
      style="display:none;visibility:hidden">
    </iframe> -->
  </noscript>

  <div id="app">
    <div class="first-screen">
      <div class="first-screen-loading"></div>
      <div class="first-screen-text">Loading...</div>
    </div>
  </div>



  <script>
    window.SITE_CONFIG = {}
    window.SITE_CONFIG['version'] = 'v2.5.0'
    window.SITE_CONFIG['nodeEnv'] = '<%= process.env.VUE_APP_NODE_ENV %>'
    window.SITE_CONFIG['apiURL'] = ''
    window.SITE_CONFIG['storeState'] = {}
    window.SITE_CONFIG['ossAddressURL'] = 'https://app.maibozhineng.com/oss'
    window.SITE_CONFIG['socketURL'] = ''
    window.SITE_CONFIG['contentTabDefault'] = {
      'name': '',
      'params': {},
      'query': {},
      'menuId': '',
      'title': '',
      'isTab': true,
      'iframeURL': ''
    }
    // window.SITE_CONFIG['apiURL'] = '/web/um'
    window.SITE_CONFIG['menuList'] = []
    window.SITE_CONFIG['permissions'] = []
    window.SITE_CONFIG['dynamicRoutes'] = []
    window.SITE_CONFIG['dynamicMenuRoutes'] = []
    window.SITE_CONFIG['dynamicMenuRoutesHasAdded'] = false
    if (window.location.hostname === 'localhost' || window.location.hostname === 'appint.mspbots.ai') {
      window.SITE_CONFIG['socketURL'] = ''
      window.SITE_CONFIG['chargebee-client'] = {
        // site: 'mspbots-test',
        // api_key: 'test_9fkcuGZhIzjrtK2nip2EomKZBlULuhVC6',
        // isItemsModel: true,
        // enableRedirectMode: false
      }
    } else if(window.location.hostname === 'appstg.mspbots.ai'){
      window.SITE_CONFIG['socketURL'] = ''
      window.SITE_CONFIG['chargebee-client'] = {
        site: 'mspbots',
        api_key: 'live_jw280NbcuD6nGjgVQ1c6P4jhjcuh4Njy2P',
        isItemsModel: true,
        enableRedirectMode: false
      }
    } else {
      window.SITE_CONFIG['socketURL'] = ''
      window.SITE_CONFIG['chargebee-client'] = {
        // site: 'mspbots',
        // api_key: 'live_jw280NbcuD6nGjgVQ1c6P4jhjcuh4Njy2P',
        // isItemsModel: true,
        // enableRedirectMode: false
      }
    }
  </script>

  <% if (process.env.VUE_APP_NODE_ENV==='dev' ) { %>
  <script>
       window.SITE_CONFIG['socketURL'] = ''
  </script>
  <% } %>
  <% if (process.env.VUE_APP_NODE_ENV==='prod:sit' ) { %>
  <script>
       window.SITE_CONFIG['socketURL'] = ''
  </script>
  <% } %>
  <% if (process.env.VUE_APP_NODE_ENV==='prod:uat' ) { %>
  <script>
      window.SITE_CONFIG['socketURL'] = ''
  </script>
  <% } %>
  <% if (process.env.VUE_APP_NODE_ENV==='prod:stage' ) { %>
  <script>
    window.SITE_CONFIG['socketURL'] = ''
  </script>
  <% } %>
  <% if (process.env.VUE_APP_NODE_ENV==='prod' ) { %>
  <script>
  </script>
  <% } %>



  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/jquery@3.6.1/jquery-3.6.1.js"></script>
  <% if (process.env.NODE_ENV==='development' ) { %>
    <script src="<%= BASE_URL %>cdn/vue@2.6.14/vue.js"></script>
    <script src="<%= BASE_URL %>cdn/vuex@3.6.2/vuex.js"></script>
    <script src="<%= BASE_URL %>cdn/vue-router@3.6.5/vue-router.js"></script>
  <% } %>
  <% if (process.env.NODE_ENV==='production' ) { %>
    <script src="<%= VUE_APP_CDN %>cdn/vue@2.6.14/vue.min.js"></script>
    <script src="<%= VUE_APP_CDN %>cdn/vuex@3.6.2/vuex.min.js"></script>
    <script src="<%= VUE_APP_CDN %>cdn/vue-router@3.6.5/vue-router.min.js"></script>
  <% } %>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/echarts@5.3.3/index.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/echarts-gl@2.0.8/index.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/echarts-stat@1.2.0/ecStat.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/axios@0.27.2/axios.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-i18n@18.27.2/vue-i18n.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/js-cookie@2.2.1/js.cookie.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/lodash@4.17.21/lodash.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/moment@2.29.4/moment.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/moment-timezone@0.5.37/moment-timezone.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/nprogress@0.2.0/nprogress.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-grid-layout@2.3.7/vue-grid-layout.umd.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-virtual-scroller@1.0.10/vue-virtual-scroller.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/sortablejs@1.15.0/Sortable.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vuedraggable@2.24.3/vuedraggable.umd.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/portal-vue@2.1.7/portal-vue.umd.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/v-jsoneditor@1.4.1/v-jsoneditor.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/json2csv@5.0.7/json2csv.umd.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/file-saver@2.0.5/FileSaver.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/jspdf@2.5.1/jspdf.umd.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/jspdf-autotable@3.5.25/jspdf.plugin.autotable.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/cronstrue@2.11.0/cronstrue.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/quill@1.3.7/quill.min.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-quill-editor@3.0.6/vue-quill-editor.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-cropper@0.5.6/index.js"></script>
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/vue-contextmenujs@1.4.9/contextmenu.umd.min.js"></script>
  <!-- <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/syncfusion@19.4.55/ej2-vue.min.js"></script> -->
  <!-- <script src="https://cdn.syncfusion.com/ej2/19.1.54/ej2-vue-es5/dist/ej2-vue.min.js" ></script> -->
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/syncfusion/index.min.js" ></script>
  <!-- echarts theme start -->
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/echarts-theme/echarts-dark.js"></script> 
  <script src="<%= process.env.NODE_ENV === 'production'? VUE_APP_CDN:BASE_URL %>cdn/echarts-theme/echarts-blue.js"></script> 
  <!-- echarts theme end -->
  </script>
  <!-- <script src="https://pv.sohu.com/cityjson?ie=utf-8"></script> -->
  <script>
    // (function (w, d, s, l, i) {
    //   w[l] = w[l] || [];
    //   w[l].push({
    //     'gtm.start': new Date().getTime(),
    //     event: 'gtm.js'
    //   });
    //   var f = d.getElementsByTagName(s)[0],
    //     j = d.createElement(s),
    //     dl = l != 'dataLayer' ? '&l=' + l : '';
    //   j.async = true;
    //   j.src =
    //     'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
    //   f.parentNode.insertBefore(j, f);
    // })(window, document, 'script', 'dataLayer', 'GTM-WQ443V4');
  </script>

  <script src="/tool/tool.js"></script>

  <script>
    window.ejs = function(){
      
    }
  </script>
</body>

</html>
